package com.naiterui.ehp.bp.support.exception;

/**
 * 业务级异常
 * <P>File name : BusinessException.java </P>
 * <P>Author : zhouyanxin </P>
 * <P>Date : 2014-9-29 </P>
 */
public class BusinessException extends BaseException {

    /**
     * 字段或域定义：<code>serialVersionUID</code>
     */
    private static final long serialVersionUID = 8028156089178383183L;

    public BusinessException(int code) {
        super(code);
    }

    public BusinessException(String msg) {
        super(msg);
    }

    public BusinessException(int code, String msg) {
        super(code, msg);
    }

    public <T> BusinessException(int code, String msg, T data) {
        super(code, msg, data);
    }

    public BusinessException(int code, Throwable cause) {
        super(code, cause);
    }

    public BusinessException(int code, String msg, Throwable cause) {
        super(code, msg, cause);
    }
}